package com.wzh.chatgpt.data.domain.auth.service;

import com.wzh.chatgpt.data.domain.auth.model.entity.AuthStateEntity;

/**
 * @author: wzh
 * time 2023 12 15 20 40
 **/
public interface IAuthService {

    /**
     * 登录验证码
     * @param code
     * @return
     */
    AuthStateEntity doLogin(String code);

    /**
     * 验证token
     * @param token
     * @return
     */
    boolean checkToken(String token);
}
